using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.Provider
{
    public class HFVariableInfo
    {
        public HFVariableInfo()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _hfvariableid;
        private Int64 _hfproviderid;
        private string _productname;
        private Int16 _loanpurpose;
        private Int16 _propertytype;
        private Int16 _interestratetype;
        private int _minloantenure;
        private int _maxloantenure;
        private int _minageapplicant;
        private int _maxageapplicant;
        private int _maxmarginfin;
        private int _lockinperiod;
        private string _fullredpen;
        private float _minpartialrepay;
        private float _maxpartialrepay;
        private string _homefireins;
        private string _legalfeesubsidy;
        private bool _requiremrta;
        private float _interesty1;
        private int _y1sibor;
        private char _y1siborsign;
        private float _interesty2;
        private int _y2sibor;
        private char _y2siborsign;
        private float _interesty3;
        private char _y3siborsign;
        private int _y3sibor;
        private float _interesty4;
        private int _y4sibor;
        private char _y4siborsign;
        private float _interesty5;
        private int _y5sibor;
        private char _y5siborsign;
        private float _interestthereafter;
        private int _tasibor;
        private char _tasiborsign;

        private Int64 _refceuserid;
        private string _rowguid;

        //common field name
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;
        private int _ninfo11;
        private Int64 _ninfo12;
        private float _ninfo13;
        private double _ninfo14;
        private int _ninfo15;
        private Int64 _ninfo16;
        private float _ninfo17;
        private double _ninfo18;
        private int _ninfo19;
        private Int64 _ninfo20;

        public Int64 HFVariableId
        {
            get { return _hfvariableid; }
            set { _hfvariableid = value; }
        }

        public Int64 HFProviderId
        {
            get { return _hfproviderid; }
            set { _hfproviderid = value; }
        }

        public string ProductName
        {
            get { return _productname; }
            set { _productname = value; }
        }

        public Int16 LoanPurpose
        {
            get { return _loanpurpose; }
            set { _loanpurpose = value; }
        }

        public Int16 PropertyType
        {
            get { return _propertytype; }
            set { _propertytype = value; }
        }

        public Int16 InterestRateType
        {
            get { return _interestratetype; }
            set { _interestratetype = value; }
        }

        public int MinLoanTenure
        {
            get { return _minloantenure; }
            set { _minloantenure = value; }
        }

        public int MaxLoanTenure
        {
            get { return _maxloantenure; }
            set { _maxloantenure = value; }
        }

        public int MinAgeApplicant
        {
            get { return _minageapplicant; }
            set { _minageapplicant = value; }
        }

        public int MaxAgeApplicant
        {
            get { return _maxageapplicant; }
            set { _maxageapplicant = value; }
        }

        public int MaxMarginFin
        {
            get { return _maxmarginfin; }
            set { _maxmarginfin = value; }
        }

        public int LockInPeriod
        {
            get { return _lockinperiod; }
            set { _lockinperiod = value; }
        }

        public string FullRedPen
        {
            get { return _fullredpen; }
            set { _fullredpen = value; }
        }

        public float MinPartialRepay
        {
            get { return _minpartialrepay; }
            set { _minpartialrepay = value; }
        }

        public float MaxPartialRepay
        {
            get { return _maxpartialrepay; }
            set { _maxpartialrepay = value; }
        }

        public string HomeFireIns
        {
            get { return _homefireins; }
            set { _homefireins = value; }
        }

        public string LegalFeeSubsidy
        {
            get { return _legalfeesubsidy; }
            set { _legalfeesubsidy = value; }
        }

        public bool RequireMRTA
        {
            get { return _requiremrta; }
            set { _requiremrta = value; }
        }

        public float InterestY1
        {
            get { return _interesty1; }
            set { _interesty1 = value; }
        }

        public int Y1Sibor
        {
            get { return _y1sibor; }
            set { _y1sibor = value; }
        }

        public char Y1SiborSign
        {
            get { return _y1siborsign; }
            set { _y1siborsign = value; }
        }

        public float InterestY2
        {
            get { return _interesty2; }
            set { _interesty2 = value; }
        }

        public int Y2Sibor
        {
            get { return _y2sibor; }
            set { _y2sibor = value; }
        }

        public char Y2SiborSign
        {
            get { return _y2siborsign; }
            set { _y2siborsign = value; }
        }

        public float InterestY3
        {
            get { return _interesty3; }
            set { _interesty3 = value; }
        }

        public int Y3Sibor
        {
            get { return _y3sibor; }
            set { _y3sibor = value; }
        }

        public char Y3SiborSign
        {
            get { return _y3siborsign; }
            set { _y3siborsign = value; }
        }

        public float InterestY4
        {
            get { return _interesty4; }
            set { _interesty4 = value; }
        }

        public int Y4Sibor
        {
            get { return _y4sibor; }
            set { _y4sibor = value; }
        }

        public char Y4SiborSign
        {
            get { return _y4siborsign; }
            set { _y4siborsign = value; }
        }

        public float InterestY5
        {
            get { return _interesty5; }
            set { _interesty5 = value; }
        }

        public int Y5Sibor
        {
            get { return _y5sibor; }
            set { _y5sibor = value; }
        }

        public char Y5SiborSign
        {
            get { return _y5siborsign; }
            set { _y5siborsign = value; }
        }

        public float InterestThereAfter
        {
            get { return _interestthereafter; }
            set { _interestthereafter = value; }
        }

        public int TASibor
        {
            get { return _tasibor; }
            set { _tasibor = value; }
        }

        public char TASiborSign
        {
            get { return _tasiborsign; }
            set { _tasiborsign = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string rowguid
        {
            get { return _rowguid; }
            set { _rowguid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public int NInfo11
        {
            get { return _ninfo11; }
            set { _ninfo11 = value; }
        }

        public Int64 NInfo12
        {
            get { return _ninfo12; }
            set { _ninfo12 = value; }
        }


        public float NInfo13
        {
            get { return _ninfo13; }
            set { _ninfo13 = value; }
        }

        public double NInfo14
        {
            get { return _ninfo14; }
            set { _ninfo14 = value; }
        }

        public int NInfo15
        {
            get { return _ninfo15; }
            set { _ninfo15 = value; }
        }

        public Int64 NInfo16
        {
            get { return _ninfo16; }
            set { _ninfo16 = value; }
        }

        public float NInfo17
        {
            get { return _ninfo17; }
            set { _ninfo17 = value; }
        }

        public double NInfo18
        {
            get { return _ninfo18; }
            set { _ninfo18 = value; }
        }

        public int NInfo19
        {
            get { return _ninfo19; }
            set { _ninfo19 = value; }
        }

        public Int64 NInfo20
        {
            get { return _ninfo20; }
            set { _ninfo20 = value; }
        }

        public void ClearFields()
        {
            _hfvariableid = 0;
            _hfproviderid = 0;
            _productname = "";
            _loanpurpose = 0;
            _propertytype = 0;
            _interestratetype = 0;
            _minloantenure = 0;
            _maxloantenure = 0;
            _minageapplicant = 0;
            _maxageapplicant = 0;
            _maxmarginfin = 0;
            _lockinperiod = 0;
            _fullredpen = "";
            _minpartialrepay = 0.0f;
            _maxpartialrepay = 0.0f;
            _homefireins = "";
            _legalfeesubsidy = "";
            _requiremrta = false;
            _interesty1 = 0.0f;
            _y1sibor = 0;
            _y1siborsign = '0';
            _interesty2 = 0.0f;
            _y2sibor = 0;
            _y2siborsign = '0';
            _interesty3 = 0.0f;
            _y3sibor = 0;
            _y3siborsign = '0';
            _interesty4 = 0.0f;
            _y4sibor = 0;
            _y4siborsign = '0';
            _interesty5 = 0.0f;
            _y5sibor = 0;
            _y5siborsign = '0';
            _interestthereafter = 0.0f;
            _tasibor = 0;
            _tasiborsign = '0';

            //common field name
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
            _ninfo11 = 0;
            _ninfo12 = 0;
            _ninfo13 = 0.0f;
            _ninfo14 = 0.0d;
            _ninfo15 = 0;
            _ninfo16 = 0;
            _ninfo17 = 0.0f;
            _ninfo18 = 0.0d;
            _ninfo19 = 0;
            _ninfo20 = 0;
        }

    }
}
